package com.deft.design.factory.calc;

import com.deft.design.factory.ICalculator;

import java.math.BigDecimal;

/**
 * @author zdl
 * @description 加法计算
 * @date 2022-04-18
 **/
public class AdditionCalc implements ICalculator {

    @Override
    public BigDecimal execCalc(BigDecimal first, BigDecimal second) {
        return first.add(second);
    }
}
